﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class ASD
    {
        private double r;
        private int c;
        private int k;
        public double R
        {
            get { return this.r; }
            set { this.r = value; }
        }
        public int C
        {
            get { return this.c; }
            set { this.c = value; }
        }
        public int K
        {
            get { return this.k; }
            set { this.k = value; }
        }

        /// <summary>
        /// 圆面积
        /// </summary>
        /// <param name="r">半径</param>
        /// <returns>圆面积</returns>
        public double aaa(double r)
        {
            return 3.14 * this.r * this.r;
        }

        /// <summary>
        /// 长方形面积
        /// </summary>
        /// <param name="c">长</param>
        /// <param name="k">宽</param>
        /// <returns>长方形面积</returns>
        public int aaa(int c, int k)
        {
            return this.c * this.k;
        }
    }
}
